package com.cooldatasoft.app;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Configurable;

import com.cooldatasoft.service.SampleService;
import com.vaadin.Application;
import com.vaadin.ui.Label;
import com.vaadin.ui.Window;

@Configurable(preConstruction=true)
public class SampleWebApplication extends Application {
	/**
	 * 
	 */
	private static final long serialVersionUID = 2353008797533585430L;

	@Autowired
	private SampleService testBean;
	
	@Override
	public void init() {

		Window main = new Window("Hello window");
		setMainWindow(main);
		main.setSizeFull();
		main.addComponent(new Label("---"));
	}

	
}
